Skip to main content
Version: 1.10 Forge

Faction Selector

The faction selector selects all entities of a given faction or not of a given faction.

Syntax

@e["vampirism:faction"="<faction>"]
@e["vampirism:faction"=!"<faction>"]

Arguments

ParameterTypeDescription
factionfactionThe target faction id

Examples

/kill @e["vampirism:faction"="vampirism:vampire"]

Kills all vampire players and vampire mobs.

/kill @e["vampirism:faction"=!"vampirism:vampire"]

Kills all non vampire players and non vampire mobs.